package cn.stylefeng.guns.modular.ctm.service.impl;

import cn.stylefeng.guns.modular.ctm.dto.JobNoticeDTO;
import cn.stylefeng.guns.modular.ctm.entity.JobNotice;
import cn.stylefeng.guns.modular.ctm.mapper.JobNoticeMapper;
import cn.stylefeng.guns.modular.ctm.service.JobNoticeService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 岗位公告
 * </p>
 *
 * @author yzb
 * @since 2022-05-24
 */
@Service
public class JobNoticeServiceImpl extends ServiceImpl<JobNoticeMapper, JobNotice> implements JobNoticeService {

    @Autowired
    JobNoticeMapper jobNoticeMapper;

    @Override
    public IPage<JobNoticeDTO> selectByPage(Page page, JobNotice jobNotice) {
        return jobNoticeMapper.selectByPage(page, jobNotice);
    }

    @Override
    public JobNotice selectInfoById(String noInputId) {
        return jobNoticeMapper.selectInfoById(noInputId);
    }
}
